import request from '@/utils/request'

// 查询产品型号信息列表
export function listProduct_model_data_sheet(query) {
  return request({
    url: '/flexiblescheduling/Product_model_data_sheet/list',
    method: 'get',
    params: query
  })
}

// 查询产品型号信息详细
export function getProduct_model_data_sheet(ID) {
  return request({
    url: '/flexiblescheduling/Product_model_data_sheet/' + ID,
    method: 'get'
  })
}

// 新增产品型号信息
export function addProduct_model_data_sheet(data) {
  return request({
    url: '/flexiblescheduling/Product_model_data_sheet',
    method: 'post',
    data: data
  })
}

// 修改产品型号信息
export function updateProduct_model_data_sheet(data) {
  return request({
    url: '/flexiblescheduling/Product_model_data_sheet',
    method: 'put',
    data: data
  })
}

// 删除产品型号信息
export function delProduct_model_data_sheet(ID) {
  return request({
    url: '/flexiblescheduling/Product_model_data_sheet/' + ID,
    method: 'delete'
  })
}
